package com.huawei.appmarket.service.store.awk.card;

import android.content.Context;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.LinearLayout.LayoutParams;
import android.widget.TextView;
import com.huawei.appgallery.foundation.card.base.card.BaseDistCard;
import com.huawei.appgallery.foundation.ui.framework.cardkit.bean.CardBean;
import o.cgz;
import o.epv;
import o.ewm.j;

public class SearchNothingCard extends BaseDistCard {
    private LinearLayout ˋ;
    private ImageView ॱॱ;
    private TextView ᐝ;

    public SearchNothingCard(Context context) {
        super(context);
    }

    public cgz ˏ(View view) {
        this.ˋ = (LinearLayout) view.findViewById(j.ᐝꜝ);
        this.ॱॱ = (ImageView) view.findViewById(j.ᐝﹶ);
        this.ᐝ = (TextView) view.findViewById(j.ʿˋ);
        ʽ(view);
        return this;
    }

    public void ˏ(CardBean cardBean) {
        LayoutParams layoutParams = (LayoutParams) this.ˋ.getLayoutParams();
        if (layoutParams == null) {
            layoutParams = new LayoutParams(-1, -2);
        }
        layoutParams.height = epv.ˋ(this.ˊˋ.getContext(), 202);
    }
}
